<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>
<%@page import="com.hengpeng.itfinbase.persist.ShortcutMenu"%>
<%@page import="com.hengpeng.itfinbase.persist.ShortcutMenuNode"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<div class="youarehere">权限管理 &gt; <span>创建快捷菜单</span></div>
<%
	ShortcutMenu m = (ShortcutMenu) request.getAttribute("sharemenu");
%>
<chtml:command command="sharemenu" title="创建快捷菜单" exclude="isShare,userId"
	onSubmit="onsubmits()" action="/acm/menu/modify" column="1" readonly="true">
	<chtml:property index="-1" label="子链接">
		<div id="havefatorage_div" style="display: block;">
		<table id="fatorage_table" class="data_table_main" border="0">
			<%
			if(m.getNodeSet()!=null && m.getNodeSet().size()>0) {
				for(ShortcutMenuNode node : m.getNodeSet()) {
					%>
					<tr><td>
					链接名称&nbsp;<input readonly="readonly"  type="text" value="<%=node.getName() %>" name="linsName"style="width: 100px;" />&nbsp;排序&nbsp;<input readonly="readonly" type="text" style="width: 40px;" value="<%=node.getSortLevel() %>" name="sorts" />&nbsp;链接地址&nbsp;<input type="text" readonly="readonly" style="width: 500px;" value="<%=node.getUrl() %>" name="urls" />
					</td></tr>
					<%
				}
			}
			%>
		</table>
		</div>
	</chtml:property>
</chtml:command>
</body>
</html>